<template>
	<view>
		<uni-card title="明细列表" type="line">
			<uni-row>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						上游编码:
					</view>
				</uni-col>
				<uni-col :span="16">
					<view class="demo-uni-col-value light ">
						{{INPAGENO_YW}}
					</view>
				</uni-col>
				<!-- <uni-col :span="3">
					<view class="demo-uni-col-key dark">
						状态:
					</view>
				</uni-col>
				<uni-col :span="3">
					<view class="demo-uni-col-value light">
						新建
					</view>
				</uni-col>-->
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						序号:
					</view>
				</uni-col> 
				<uni-col :span="16">
					<view class="demo-uni-col-value light">
						{{index}} / {{total}}
					</view>
				</uni-col>
			</uni-row>

			<uni-row class="demo-uni-row-zhan " :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row my-stop" :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row-zhan2 " :width="nvueWidth">
			</uni-row>

			<uni-row>
				<uni-col>
					<view class="demo-uni-col-key dark">
						物料名称:
					</view>
				</uni-col>
			</uni-row>
			<uni-row style="margin-bottom: 20rpx;">
				<uni-col>
					<view class="demo-uni-col-value light goodsName">
						{{GDNAME}}
					</view>
				</uni-col>
			</uni-row>
			<uni-row>
				<uni-col :span="15">
					<view class="demo-uni-col-key dark">
						物料
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key dark">
						批号
					</view>
				</uni-col>
				<!-- <uni-col :span="5">
					<view class="demo-uni-col-key dark">
						物料属性
					</view>
				</uni-col> -->
			</uni-row>
			<uni-row style="margin-bottom: 20rpx;">
				<uni-col :span="15">
					<view class="demo-uni-col-key light">
						{{GOODSID}}
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key light">
						{{BATCHNO}}
					</view>
				</uni-col>
				<!-- <uni-col :span="5">
					<view class="demo-uni-col-key light">
						正常
					</view>
				</uni-col> -->
			</uni-row>
			<uni-row>
				<uni-col :span="10">
					<view class="demo-uni-col-key dark">
						库位
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key dark">
						入库类型
					</view>
				</uni-col>
				<uni-col :span="5">
					<view class="demo-uni-col-key dark">
						包装单位
					</view>
				</uni-col>
			</uni-row>
			<uni-row>
				<uni-col :span="10">
					<view class="demo-uni-col-key light">
						{{LOCATIONZD}}
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key light">
						{{INTYPE}}
					</view>
				</uni-col>
				<uni-col :span="5">
					<view class="demo-uni-col-key light">
						{{UNIT_DABZ}}
					</view>
				</uni-col>
			</uni-row>

			<uni-row class="demo-uni-row-zhan " :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row my-stop" :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row-zhan2 " :width="nvueWidth">
			</uni-row>
			<uni-row>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						订单数量
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						已收货数量
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						计费数量
					</view>
				</uni-col>

				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						{{AMOUNT}}
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						{{SHIS_AMOUNT}}
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						0
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						净重
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						毛重
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						<!-- 总数量 -->
					</view>
				</uni-col>

				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						0
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						0
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						<!-- 4242 -->
					</view>
				</uni-col>

			</uni-row>


			<uni-row class="demo-uni-row-zhan " :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row my-stop" :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row-zhan2 " :width="nvueWidth">
			</uni-row>

			<!-- <uni-data-checkbox style="padding-left: 200rpx;" v-model="baseFormData.sex" :localdata="only_one" /> -->


		</uni-card>
	</view>
</template>

<script>
	export default {
		name: 'InHead',
		// props: {
		// 	title: {
		// 		type: String,
		// 		required: true
		// 	}
		// },
		props: {
			oneMx: {
				
					"PRODUCER": "辽宁成大生物股份有限公司",
					"ITM": "1",
					"KC_STATE": "1",
					"INPAGENO_YW": "ASN202303090001",
					"SHIS_AMOUNT": "528",
					"EFFDATE": "2024-12-31",
					"GDSEQ": "997863",
					"PIZNO": "国药准字s20043089",
					"PRODUCTDATE": "2022-12-08",
					"LOCATIONZD": "1-2-4-1",
					"KEEPACCOUNT": "*",
					"CONTAINSNUMBER": "*",
					"AMOUNT": "20000000",
					"TASKNO": "2",
					"INTYPE": "IN02",
					"UNIT_DABZ": "盒",
					"BATCHNO": "20230101",
					"INPAGENO": "CGD20230309000000335",
					"GDNAME": "人用狂犬病疫苗（Vero细胞） 0.5ml/剂",
					"DEL_AMOUNT": "0",
					"INDATE": "2023-03-09 14:03:18",
					"LOCATIONZDCOUNT": "3",
					"TPBAR": "0",
					"YEW_STATE": "*",
					"GOODSID": "GDID2022121200027012",
					"STORAGEID": "SU3",
					"YEZ_ID": "SU",
					"UNIQUECODE": "0",
					"QUANT": "0",
					index:0,
					total:0,
				},
			
		},
		created() {
			this.init()
		},
		data() {
			return {
				src: '',
				show: false,
				nvueWidth: 730,
				// 基础表单数据
				baseFormData: {
					name: '',
					age: '',
					introduction: '',
					sex: 2,
					hobby: [5],
					datetimesingle: 1627529992399
				},
				only_one: [{
					text: '选择此项',
					value: 0
				}],
				"PRODUCER": "辽宁成大生物股份有限公司",
				"ITM": "1",
				"KC_STATE": "1",
				"INPAGENO_YW": "ASN202303090001",
				"SHIS_AMOUNT": "528",
				"EFFDATE": "2024-12-31",
				"GDSEQ": "997863",
				"PIZNO": "国药准字s20043089",
				"PRODUCTDATE": "2022-12-08",
				"LOCATIONZD": "1-2-4-1",
				"KEEPACCOUNT": "*",
				"CONTAINSNUMBER": "*",
				"AMOUNT": "20000000",
				"TASKNO": "2",
				"INTYPE": "IN02",
				"UNIT_DABZ": "盒",
				"BATCHNO": "20230101",
				"INPAGENO": "CGD20230309000000335",
				"GDNAME": "人用狂犬病疫苗（Vero细胞） 0.5ml/剂",
				"DEL_AMOUNT": "0",
				"INDATE": "2023-03-09 14:03:18",
				"LOCATIONZDCOUNT": "3",
				"TPBAR": "0",
				"YEW_STATE": "*",
				"GOODSID": "GDID2022121200027012",
				"STORAGEID": "SU3",
				"YEZ_ID": "SU",
				"UNIQUECODE": "0",
				"QUANT": "0",
				index:0,
				total:0,
			};
		},
		methods: {
			init(){
				this.PRODUCER=this.oneMx.PRODUCER
				this.ITM=this.oneMx.ITM
				this.KC_STATE=this.oneMx.KC_STATE
				this.INPAGENO_YW=this.oneMx.INPAGENO_YW
				this.SHIS_AMOUNT=this.oneMx.SHIS_AMOUNT
				this.EFFDATE=this.oneMx.EFFDATE
				this.GDSEQ=this.oneMx.GDSEQ
				this.PIZNO=this.oneMx.PIZNO
				this.PRODUCTDATE=this.oneMx.PRODUCTDATE
				this.LOCATIONZD=this.oneMx.LOCATIONZD
				this.KEEPACCOUNT=this.oneMx.KEEPACCOUNT
				this.CONTAINSNUMBER=this.oneMx.CONTAINSNUMBER
				this.AMOUNT=this.oneMx.AMOUNT
				this.TASKNO=this.oneMx.TASKNO
				this.INTYPE=this.oneMx.INTYPE
				this.UNIT_DABZ=this.oneMx.UNIT_DABZ
				this.BATCHNO=this.oneMx.BATCHNO
				this.INPAGENO=this.oneMx.INPAGENO
				this.GDNAME=this.oneMx.GDNAME
				this.DEL_AMOUNT=this.oneMx.DEL_AMOUNT
				this.INDATE=this.oneMx.INDATE
				this.LOCATIONZDCOUNT=this.oneMx.LOCATIONZDCOUNT
				this.TPBAR=this.oneMx.TPBAR
				this.YEW_STATE=this.oneMx.YEW_STATE
				this.GOODSID=this.oneMx.GOODSID
				this.STORAGEID=this.oneMx.STORAGEID
				this.YEZ_ID=this.oneMx.YEZ_ID
				this.UNIQUECODE=this.oneMx.UNIQUECODE
				this.QUANT=this.oneMx.QUANT
				this.index=this.oneMx.index
				this.total=this.oneMx.total
			},
			}
	}
</script>

<style lang="scss" scoped>
	@import 'storage.scss';
</style>